package Dahinh;

public abstract class ThreeDimensionalShape extends Shape {

	private int dimension1, dimension2, dimension3;

	public ThreeDimensionalShape(int d1, int d2, int d3) {
		super();
		dimension1 = d1;
		dimension2 = d2;
		dimension3 = d3;
	}

	public abstract double getArea();

	public abstract double getVolume();

	public int getDimension1() {
		return dimension1;
	}

	public void setDimension1(int dimension1) {
		this.dimension1 = dimension1;
	}

	public int getDimension2() {
		return dimension2;
	}

	public void setDimension2(int dimension2) {
		this.dimension2 = dimension2;
	}

	public int getDimension3() {
		return dimension3;
	}

	public void setDimension3(int dimension3) {
		this.dimension3 = dimension3;
	}
}
